diff options
| author | Factiven <[email protected]> | 2023-10-24 20:27:32 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-10-24 20:27:32 +0700 |
| commit | 451e4dffd000169e7113aa3275e4acaf7f1fbbbc (patch) | |
| tree | 035edf0d05e2f6878be745c326935aba3d821636 /pages/en/anime/watch/[...info].js | |
| parent | Update v4.2.1 (diff) | |
| download | moopa-4.2.2.tar.xz moopa-4.2.2.zip | |
Update v4.2.2v4.2.2
Diffstat (limited to 'pages/en/anime/watch/[...info].js')
| -rw-r--r-- | pages/en/anime/watch/[...info].js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/en/anime/watch/[...info].js b/pages/en/anime/watch/[...info].js index 2427669..beab366 100644 --- a/pages/en/anime/watch/[...info].js +++ b/pages/en/anime/watch/[...info].js @@ -31,7 +31,7 @@ export async function getServerSideProps(context) { let proxy; proxy = process.env.PROXY_URI; - if (proxy.endsWith("/")) { + if (proxy && proxy.endsWith("/")) { proxy = proxy.slice(0, -1); } const disqus = process.env.DISQUS_SHORTNAME; |